#include <stdio.h>

int main()
{
	int n = 0x1234;
	int n2 = 0;
	unsigned char ch = 0;
	int *p = &n;
	
	n2 = *((int *)p);
	ch = *((unsigned char *)p);
	printf("n2:%x\r\n",n2);
	printf("ch:%x\r\n",ch);

	return 0;
}
